﻿using System;
using GalaSoft.MvvmLight.Messaging;

namespace mal.WP7.Framework.Messages
{
    public class NavigateMessage : MessageBase
    {    
        #region Construction / Destruction
        public NavigateMessage(Uri navigateUri)
        {
            this.NavigateUri = navigateUri;
        }
        #endregion      

        #region Properties
        public Uri NavigateUri { get; private set; }
        #endregion

        #region Methods
        public static void Send(Uri navigateUri)
        {
            Messenger.Default.Send<NavigateMessage>(new NavigateMessage(navigateUri));
        }
        #endregion
    }
}
